
check_PROGRAMS = \
  ChanPolSelectTest \
  LoadToQuantizeTest \
  RescaleTest \
  RescaleMedianMadCalculatorTest \
  TScrunchTest

ChanPolSelectTest_SOURCES = ChanPolSelectTest.cpp dsp/ChanPolSelectTest.h
LoadToQuantizeTest_SOURCES = LoadToQuantizeTest.cpp dsp/LoadToQuantizeTest.h
RescaleTest_SOURCES = RescaleTest.cpp dsp/RescaleTest.h
RescaleMedianMadCalculatorTest_SOURCES = RescaleMedianMadCalculatorTest.cpp dsp/RescaleMedianMadCalculatorTest.h
TScrunchTest_SOURCES = TScrunchTest.cpp dsp/TScrunchTest.h

include $(top_srcdir)/config/Makefile.local
include $(top_srcdir)/config/Makefile.gtest

AM_CPPFLAGS = -I. $(GTEST_CFLAGS) \
    -I$(top_srcdir)/Kernel/Classes/testutils \
    -I$(top_srcdir)/Signal/General/testutils \
    -I$(top_builddir)/local_include \
    @PSRCHIVE_CFLAGS@

AM_LDFLAGS = -static

LDADD = \
    $(top_builddir)/Kernel/Classes/testutils/libclasses_testutils.la \
    $(top_builddir)/Signal/General/libdspdsp.la \
    $(top_builddir)/Signal/Statistics/libdspstats.la \
    $(top_builddir)/Signal/General/testutils/libsignal_testutils.la \
    $(top_builddir)/Kernel/libdspbase.la \
    $(GTEST_LIBS) \
    @PSRCHIVE_LIBS@ \
    @CUDA_LIBS@ @CUFFT_LIBS@

